﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace Domain.Pocos
{
    [Table("department")]
    public class Department
    {
        public int departmentId { get; set; }
        public int officeId { get; set; }
        public string name { get; set; }
        public DateTime createDate { get; set; }
        public DateTime updateDate { get; set; }
        
        public virtual ICollection<Employee> employeeList { get; set; }

        public virtual Office office { get; set; }
    }
}